Document gtk_container_get_focus_child().
authorTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:10:43 +0000 (11:10 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:10:43 +0000 (11:10 +0000)
* gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().

svn path=/trunk/; revision=20630

gtk/gtkcontainer.c

index 7dd34aef35f797f8206b9bfa4f2e3acd0f2f3cd5..b24dde9aa6dda81ed909dbf309dd752ed10771ab 100644 (file)
@@ -1559,6 +1559,17 @@ gtk_container_set_focus_child (GtkContainer *container,
   g_signal_emit (container, container_signals[SET_FOCUS_CHILD], 0, widget);
 }
 
+/**
+ * gtk_container_get_focus_child:
+ * @container: a #GtkContainer
+ *
+ * Returns the current focus child widget inside @container.
+ *
+ * Returns: The child widget which has the focus
+ *          inside @container, or %NULL if none is set.
+ *
+ * Since: GSEAL-branch
+ **/
 GtkWidget *
 gtk_container_get_focus_child (GtkContainer *container)
 {